<div>
<div id="page">
 
<?=(isset($sidebar)) ? $sidebar : '' ?>
  
  <div id="middle1">
  <?= (isset($sideheading)) ? "<H1>".$sideheading.'</H1>' : '' ?>
   <!--STAR FLASH MESSAGE-->
	<?php 
	$flash=$this->db_session->flashdata('flashMessage');
	if (isset($flash) AND $flash!='')
	{?>
		<div id="flashMessage" style="display:none;">
			<?=$flash?>
		</div>
	<?php }?>
	<!--END FLASH-->
	<?php 
	if (isset($message) AND $message!='')
	{
		echo $message;
	}?>
	<!--INSTALLER-->
	<?php if (isset($installer) AND $installer!='')
	{
		echo $installer;
	}
	?>
	<!--END INSTALLER-->
	<!--START INCLUDED CONTENT-->
	<?= isset($fal) ? $fal : null;?>
	<?php isset($page) ? $this->load->view($page) : null;?>
	<!--END INCLUDED CONTENT-->
  </div>
  <?=$this->load->view($this->config->item('CNC_template_dir').'template/rt_sidebar');?>  
  
</div>
</div>